import Vue from 'vue'
import Vuex from 'vuex'
import qs from 'qs'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    sessiondata:sessionStorage.getItem("sessiondata"),
    king:"king 00000",
    token:localStorage.getItem("mytoken") == null?"":localStorage.getItem("mytoken"),
    user:localStorage.getItem("user01")==null?"":qs.parse(localStorage.getItem("user01")),
    
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
})
